package com.yao.aop.impl;

import com.yao.aop.Calculator;
import org.springframework.stereotype.Component;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/2/9 15:31
 * FileName: CalculatorImpl
 * Description:
 */

@Component
public class CalculatorImpl implements Calculator {
    @Override
    public int add(int x, int y) {
        return x+y;
    }
}
